package com.example.player.domain.service.imp;

import android.app.Application;

import com.example.player.dao.AppDatabase;
import com.example.player.dao.SongDao;
import com.example.player.domain.entity.Song;
import com.example.player.domain.service.SongService;
/**
 * 音乐的业务处理层
 * */
public class SongServiceImp implements SongService {
    private SongDao dao;
    /**
     * 构造方法获取dao
     * */
    public SongServiceImp(Application application){
        this.dao= AppDatabase.getInstance(application).songDao();
    }
    @Override
    public void addSong(Song song) {

    }
}
